private class AspectJExpressionPointcut.BeanNameContextMatcher
extends java.lang.Object
Dynamic match tests for this matcher always return true, since the matching decision is made at the proxy creation time. For static match tests, this matcher abstains to allow the overall pointcut to match even when negation is used with the bean() pointcut.
Modifier and Type | Field and Description |
---|---|
private NamePattern |
expressionPattern |
Constructor and Description |
---|
BeanNameContextMatcher(java.lang.String expression) |
Modifier and Type | Method and Description |
---|---|
private FuzzyBoolean |
contextMatch(java.lang.Class<?> targetType) |
boolean |
couldMatchJoinPointsInType(java.lang.Class someClass)
Deprecated.
|
boolean |
couldMatchJoinPointsInType(java.lang.Class someClass,
MatchingContext context)
Deprecated.
|
private boolean |
matchesBeanName(java.lang.String advisedBeanName) |
boolean |
matchesDynamically(MatchingContext context) |
FuzzyBoolean |
matchesStatically(MatchingContext context) |
boolean |
mayNeedDynamicTest() |
public BeanNameContextMatcher(java.lang.String expression)
@Deprecated public boolean couldMatchJoinPointsInType(java.lang.Class someClass)
@Deprecated public boolean couldMatchJoinPointsInType(java.lang.Class someClass, MatchingContext context)
public boolean matchesDynamically(MatchingContext context)
public FuzzyBoolean matchesStatically(MatchingContext context)
public boolean mayNeedDynamicTest()
private FuzzyBoolean contextMatch(java.lang.Class<?> targetType)
private boolean matchesBeanName(java.lang.String advisedBeanName)